Skip to content

fix: ensure same mtime for js and code cache to prevent loading old code caches#261

Merged
edusperoni merged 1 commit intomainfrom
fix/code-cache-mtime-pinning
Sep 6, 2024
Merged

fix: ensure same mtime for js and code cache to prevent loading old code caches#261
edusperoni merged 1 commit intomainfrom
fix/code-cache-mtime-pinning

Conversation

@edusperoni
Copy link
Collaborator

Potential fix for the following issue:

User installs Version 1. JS modification time = 0
Developer releases Version 2. JS modification time = 1
User runs app (Version 1). Cache modification time = 2
User updates app to Version 2. Cache time (2) > JS time (1) = load old cache

Still gathering information to see if this works well in all scenarios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant